package bean05;

class FootballPlayer extends Athlete implements LearnEnglish, LearnComputer {
    @Override
    public void learnEnglish() {
        System.out.println("足球运动员学习英语。");
    }

    @Override
    public void learnComputer() {
        System.out.println("足球运动员学习计算机。");
    }

    @Override
    public void doSport() {
        System.out.println("足球运动员进行足球运动。");
    }

    public static void testFootballPlayer() {
        FootballPlayer footballPlayer = new FootballPlayer();
        footballPlayer.doSport();
        footballPlayer.learnEnglish();
        footballPlayer.learnComputer();
    }
}